package com.ruoyi.classai.domain.dto.px;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;

/**
 * 密码修改
 *
 * @author lcj
 * @date 2025-06-20
 */
@Data
@Schema(description="密码修改")
public class PassWordDto {

    @Schema(description  = "旧密码")
    @NotBlank(message = "密码不能为空")
    private String oldPassword;


    @Schema(description  = "新密码")
    @NotBlank(message = "密码不能为空")
    private String newPassword;

}
